* { box-sizing: border-box; margin: 0; padding: 0;}body { font-family: Arial, sans-serif; background: #1e1e1e; color: white;}header { background: #222; display: flex; align-items: center; padding: 10px 20px; position: relative; z-index: 10;}.menu-toggle { font-size: 24px; cursor: pointer; margin-right: 15px; -webkit-tap-highlight-color: transparent;} .sidebar { position: fixed; top: 0; left: -250px; width: 250px; height: 100%; background: #333; color: white; transition: left 0.3s; padding: 20px; z-index: 1000;} .sidebar.active { left: 0;} .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: none; z-index: 999;} .overlay.active { display: block;}.buttons { display: flex; gap: 10px; padding: 10px 20px; max-width: 1024px; margin: 0 auto 0 auto; /* this centers it */} .buttons.top-buttons { justify-content: flex-start; border-radius: 3px;} .buttons.run-button { justify-content: center; padding-top: 15px; .buttons.run-button:active { transform: scale(0.95); }}button { padding: 8px 12px; cursor: pointer; border: none; background: #444; color: white;border-radius: 3px; -webkit-tap-highlight-color: transparent;}button-run { padding: 8px 16px; cursor: pointer; border: none; background: #444; color: white; font-family: bold;border-radius: 3px; -webkit-tap-highlight-color: transparent; }button-run:active { transform: scale(0.95); background: #1e90ff;}button.active { background: #1e90ff; }.preview-screen { width: 100%; border: 2px solid #444; border-radius: 5px; overflow: auto; background: white; margin: auto;} .desktop-frame { width: 1024px; height: 600px;} .mobile-frame { width: 375px; height: 667px;} .editor-container { padding: 20px; max-width: 1024px; margin: auto;} .editor { width: 100%; display: flex; flex-direction: column; background: #2d2d2d; border: 1px solid #555; border-radius: 5px; margin-bottom: 20px;} .editor-title { background: #444; padding: 5px 10px; font-weight: bold; border-radius: 4px 4px 0 0; display: flex; justify-content: space-between; align-items: center;} .editor-title input[type="text"] { flex: 1; background:#444; color:#fff; border:none; border-radius:3px; padding:4px 8px; font-weight:bold;} .editor textarea { height: 400px; background: #1e1e1e; color: #fff; border: none; padding: 10px; resize: vertical; font-family: monospace; font-size: 14px; border-radius: 0 0 5px 5px; white-space: pre-wrap; word-wrap: break-word;} .editor .close-btn { background: ; border-radius: 50%; width: 20px; height: 20px; line-height: 20px; text-align: center; cursor: pointer; font-weight: bold;margin-left: 10px; -webkit-tap-highlight-color: transparent;}.close-btn:hover { color: #1e90ff; }.add-editor-btn { margin: 0; padding: 8px 16px; background: #444; border-radius: 3px; cursor: pointer;} .add-editor-btn:active { transform: scale(0.95); }.image-insert-section { max-width: 1024px; margin: 20px auto 40px auto; padding: 0 20px;} .image-container-list { display: flex; flex-wrap: wrap; gap: 15px;} .image-container { position: relative; width: 120px; height: 120px; background: #2d2d2d; border: 2px dashed #666; border-radius: 5px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #666; font-size: 36px; user-select: none; flex-direction: column;object-fit: contain; -webkit-tap-highlight-color: transparent;} .image-container:hover { color: orange;} .image-container img { margin-top: 2px; max-width: 70px; max-height: 70px; display: block; border-radius: 0px;} .image-container .remove-btn { position: absolute; top: 5px; right: 5px; padding: 3px; color: white; background: #333; opacity: 0.7; width: 24px; height: 24px; border-radius: 100%; font-weight: bold; font-size: 18px; line-height: 24px; text-align: center; cursor: pointer; display: none; user-select: none; z-index: 2;} .image-container.has-image { border: none; cursor: default; color: transparent;} .image-container.has-image .remove-btn { display: block;} .image-label { margin-top: 0px; font-size: 12px; text-align: center; color: #ccc; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}.image-container input.rename-input { width: 100%; padding: 3px 6px; font-size: 12px; margin-top: 0; border: none; border-radius: 3px; background: #333; color: white; text-align: center; outline: none; box-sizing: border-box; display: none;} .image-container.has-image input.rename-input { display: block;}@media (max-width: 768px) { .desktop-frame { width: 100%; max-width: 100%; height: 400px;} .mobile-frame { width: 375px; max-width: 100%; height: 667px;} .editor textarea { height: 300px;} .image-container { width: 90px; height: 90px; font-size: 28px;}.editor { flex: 1 1 100%;} .editor textarea { height: 250px;} .tool-links {list-style: none; padding: 10px 0;} .tool-links li { margin-bottom: 8px;} .tool-links a { color: white; text-decoration: none; -webkit-tap-highlight-color: transparent;} .tool-links a:hover { text-decoration: none; color: #1e90ff;} .social-text { margin-top: 5px;} .social-icons { display: flex; gap: 10px;margin-top: 10px; -webkit-tap-highlight-color: transparent;} .social-icons svg { transition: transform 0.2s;} .social-icons a:hover svg { transform: scale(1.2);}.add-editor-btn { margin: 1px 0 0 0; padding: 8px 16px; background: #444; border-radius: 3px; cursor: pointer; max-width: 2560px;} .add-editor-btn:active { transform: scale(0.95); }} .site-footer { background: #222; padding: 20px; text-align: center; color: #ccc; margin-top: 30px; border-top: 1px solid #444;}.site-footer a { color: #aaa; text-decoration: none;margin: 0 8px; -webkit-tap-highlight-color: transparent;} .site-footer a:hover { text-decoration: none; color: #1e90ff;} .footer-copy { margin-top: 10px; font-size: 14px;} @media (min-width: 769px) {.tool-links { list-style: none;padding: 10px 0; }.tool-links li { margin-bottom: 8px; text-decoration: none;}.tool-links a { display: block; color: white; padding: 6px 10px; border-radius: 4px; transition: background 0.3s, color 0.3s; text-decoration: none; -webkit-tap-highlight-color: transparent;}.tool-links a:hover { color: #1e90ff; text-decoration: none;}.social-text { margin-top: 5px;} .social-icons { display: flex; gap: 10px;margin-top: 10px; -webkit-tap-highlight-color: transparent;} .social-icons svg { transition: transform 0.2s;} .social-icons a:hover svg { transform: scale(1.2);}.site-footer { padding: 30px; text-align: center; background: #1c1c1c; border-top: 1px solid #444; color: #ccc;}.site-footer a { color: #aaa; margin: 0 10px; text-decoration: none; -webkit-tap-highlight-color: transparent;}.site-footer a:hover { color: #1e90ff; text-decoration: none;}.footer-copy { margin-top: 15px; font-size: 15px;}.editor { width: 100%; display: flex; flex-direction: column; background: #2d2d2d; border: 3px solid #555; border-radius: 5px; margin-bottom: 20px;} .editor-title { background: #444; padding: 5px 10px; font-weight: bold; border-radius: 2px 2px 0 0; display: flex; justify-content: space-between; align-items: center;} .editor textarea { height: 400px; background: #1e1e1e; color: #fff; border: none; padding: 10px; resize: vertical; font-family: monospace; font-size: 10px; border-radius: 0 0 5px 5px; white-space: pre-wrap; word-wrap: break-word;}